package com.changgou;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import tk.mybatis.spring.annotation.MapperScan;

/**
 * @auther LiZiBa
 * @date 2020/7/17 22:13
 * @description:
 **/

@SpringBootApplication
@EnableEurekaClient
/**
 *
 * 开启通用mapper包扫描
 * tk.mybatis.spring.annotation.MapperScan
 *
 */
@MapperScan(basePackages = {"com.changgou.dao"})
public class GoodsApplication {

    public static void main(String[] args) {
        SpringApplication.run(GoodsApplication.class, args);
    }
}
